import { createApp } from 'vue'
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import './style.css'
import App from './App.vue'
import Page1 from './components/Page1.vue';
import Page2 from './components/Page2.vue';
import { createMemoryHistory, createRouter } from 'vue-router'
const routes = [
    { path: '/page1', component: Page1 },
    { path: '/page2', component: Page2 },
  ]
  const router = createRouter({
    history: createMemoryHistory(),
    routes,
  })
createApp(App).use(router).mount('#app')
